<% provide(:title, 'Edit') %>
<%= form_for :user_info, :url => { :action => "edit" }, :html => {:class => "nifty_form form-horizontal"} do |f| %>
<fieldset>
		<legend>Edit Your Profile</legend>
		<div class="control-group">
			<label for='login' class='control-label'>Login</label>
			<div class="controls">
				<%= f.text_field :login, :id  => "login"%>
			</div>
		</div>
		<div class="control-group">
			<label for='age' class='control-label'>Age</label>
			<div class="controls">
				<%= f.text_field :age, :id  => "age"%>
			</div>
		</div>
		<div class="control-group">
			<label for='country' class='control-label'>Country</label>
			<div class="controls">
				<%= f.select(:country, UserInfo::COUNTRY) %>
			</div>
		</div>
		<div class="control-group">
			<label for='city' class='control-label'>City</label>
			<div class="controls">
				<%= f.text_field :city, :id  => "city"%>
			</div>
		</div>
		<div class="control-group">
			<label for='postal_code' class='control-label'>Postal Code</label>
			<div class="controls">
				<%= f.text_field :postal_code, :id  => "postal_code"%>
			</div>
		</div>
		<div class="form-actions">
			<%= f.submit "Submit", :class  => "btn" %>
		</div>
	</fieldset>
<% end %>